package com.huike.business.mapper;

import java.util.List;

import com.huike.business.domain.TbBusiness;
import com.huike.business.domain.TbBusinessTrackRecord;
import org.apache.ibatis.annotations.Insert;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    void add(TbBusinessTrackRecord trackRecord);

    Integer updateWithStatus(Long id);

    List<TbBusinessTrackRecord> selectLog(Long id);
    @Insert("insert into tb_business_track_record values (null,#{businessId},#{createBy},null,#{record},#{createTime},null,null)")
    void insertTbBusinessTrackRecord(TbBusinessTrackRecord btr);
}